import Multilevel from 'views/Multilevel'
import Page2 from 'views/Multilevel/Page2'
import Page3 from 'views/Multilevel/Page3'

const _config = {
    path: '/multilevel',
    name: "multilevel", // 找multilevel文件夹下的 index.router.js
    order: 300,
    meta: { title: '多级导航', icon: '' },
    children: [
        {
            path: '/home',
            name: "multilevelHome",
            meta: { title: '导航首页', icon: "" },
            component: Multilevel
        },
        {
            path: '/two',
            name: "two",
            meta: { title: '二级', icon: "" },
            children: [
                {
                    path: '/one',
                    name: "two-one",
                    meta: { title: '2-1', icon: "" },
                    component: Page2
                }
            ] 
        },
        {
            path: '/three',
            name: "three",
            meta: { title: '三级', icon: "" },
            children: [
                {
                    path: '/one',
                    name: "3-1",
                    meta: { title: '3-1', icon: "" },
                    children: [
                        {
                            path: '/one',
                            name: "3-1-1",
                            meta: { title: '3-1-1', icon: "" },
                            component: Page3

                        }
                    ]
                }
            ] 
        }
    ]
}
export default _config